package com.health.userbackstage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.health.userbackstage.pojo.Member;
import com.health.userbackstage.pojo.Order;
import com.health.userbackstage.pojo.Report;
import com.health.userbackstage.pojo.result.Result;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface MemberService extends IService<Member> {

    Member findOneByName(Member member);

    Member findOneByFileNumber(Member member);

    List<Order> findByMemberId(Long memberId);

    List<Report> findReportByMemberId(Long memberId);

    boolean deleteReportById(Integer id);
}
